package com.xinyue.center.service;

import com.xinyue.center.dao.entity.Account;
import com.xinyue.center.messages.request.LoginRequest;
import com.xinyue.center.messages.request.RegisterRequest;

public interface IAccountService {

    Account login(LoginRequest loginRequest);

    Account register(RegisterRequest loginRequest);

    String createUserToken(Account account);

    Account selectAccount(String accountId);

    void updateAccount(Account account);


}
